import React from 'react'

//出库单分页查询
export async function apiStockOutLibraryPage(params) {
    return await React.$post('/management/stockOutLibrary/page', params);
}

//出库单删除
export async function apiStockOutLibraryDel(params) {
    return await React.$post('/management/stockOutLibrary/del', params);
}

//出库单修改信息
export async function apiStockOutLibraryEdit(params) {
  return await React.$post('/management/stockOutLibrary/edit', params);
}

//出库单查看
export async function apiStockOutLibraryView(params) {
  return await React.$post('/management/stockOutLibrary/view', params);
}
//出库单添加
export async function apiStockOutLibraryAdd(params) {
  return await React.$post('/management/stockOutLibrary/add', params);
}

// 确认出库
export async function apiStockOutLibraryConfirm(params) {
  return await React.$post('/management/stockOutLibrary/confirm', params);
}

// 出库单详情添加
export async function apiStockOutLibraryInfoAdd(params) {
  return await React.$post('/management/stockOutLibraryInfo/add', params);
}

// 出库单详情删除
export async function apiStockOutLibraryInfoDel(params) {
  return await React.$post('/management/stockOutLibraryInfo/del', params);
}

// 出库单详情获取所有
export async function apiStockOutLibraryInfoList(params) {
  return await React.$post('/management/stockOutLibraryInfo/list', params);
}
// 出库类型
export async function apiTSysDictionariesList(params) {
  return await React.$post('/management/tSysDictionaries/list', params);
}
// 列表总计
export async function apiTSysTotalPrice(params) {
    return await React.$post('/management/stockOutLibrary/statisticsTotalPrice', params);
}
// 详情订单快照
export async function apiTSysOrderSnapshot(params) {
    return await React.$post('/management/stockOutLibraryOrderSnapshot/view', params);
}

// 出库单详情打印
export async function apiStockOutLibraryPrintDetail(params) {
  return await React.$post('/management/stockOutLibrary/printDetail', params);
}

